<?php

namespace addons\topPhone;
use app\home\controller\Addons;

/**
 * 顶栏电话插件
 * @author yuyifade
 */

    class TopPhone extends Addons{

        public $info = array(
            'name'=>'topPhone',
            'title'=>'顶栏电话',
            'description'=>'顶栏电话',
            'status'=>1,
            'author'=>'yuyifade',
            'version'=>'0.1'
        );

        public function install(){
            return true;
        }

        public function uninstall(){
            return true;
        }

        //实现的topPhone钩子方法
        public function topPhone($param){
            return $this->fetch("topPhone");

        }

    }